package com.dstz.demo.core.manager.impl;

import com.dstz.base.manager.impl.BaseManager;
import com.dstz.demo.core.dao.VeSubClassDao;
import com.dstz.demo.core.manager.VeSubClassManager;
import com.dstz.demo.core.model.VeSubClass;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("VeSubClassManager")
public class VeSubClassManagerImpl extends BaseManager<String, VeSubClass> implements VeSubClassManager {
    @Resource
    VeSubClassDao veSubClassDao;
    @Override
    public Integer savess(VeSubClass veSubClass) {
        return veSubClassDao.savess(veSubClass);
    }

    @Override
    public Integer deletes(String id) {
        return veSubClassDao.deletes(id);
    }

    @Override
    public Integer deletess(String id) {
        return veSubClassDao.deletess(id);
    }

    @Override
    public List<VeSubClass> ById(String build_id) {
        return veSubClassDao.ById(build_id);
    }

    @Override
    public Integer updates(VeSubClass veSubClass) {
        return veSubClassDao.updates(veSubClass);
    }
}
